Fix bug #16870 with 'box' face in display strings.
authorEli Zaretskii <eliz@gnu.org>
Thu, 27 Feb 2014 17:42:00 +0000 (19:42 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 27 Feb 2014 17:42:00 +0000 (19:42 +0200)
commit50a99e777911a1cd5265fc6aec8dc8610bdce681
tree4da8310eb5472202043eed5afe94631e485ece18
parent20d20cca3c759d1d92eb75c6a898158cb81378ba
Fix bug #16870 with 'box' face in display strings.

 src/xdisp.c (pop_it): Restore the it->face_box_p flag which could be
 reset by the face of the object just displayed.  See also bug#76.
 (get_next_display_element): If the string came from a display
 property, examine the box face attribute at it->position, not at
 it->current.pos, since the latter was not updated yet.
 (handle_face_prop): Improve commentary.
src/ChangeLog
src/xdisp.c